module.exports = {
  publicPath: './',
  outputDir: 'dist',
  assetsDir: 'assets',
  lintOnSave: true,

  configureWebpack: {
    resolve: {
      alias: {
        'assets': '@/assets',
        'components': '@/components',
        'views': '@/views',
        'common': '@/common'
      }
    }
  },

  devServer: {
    open: true,
    port: 8082,
    host: '0.0.0.0',
    proxy: null,
    overlay: {
      errors: true,
      warnings: true
    }
  },

  // 第三方插件这里配置
  pluginOptions: {
    'cube-ui': {
      postCompile: false,
      theme: false
    }
  },

  css: {
    loaderOptions: {
      stylus: {
        'resolve url': true,
        'import': []
      }
    }
  }
}
